<?php

namespace app\api\controller;


class Price extends ApiBase {
    public function index() {
        $price = model('Price')->get(1);
        return show(config('code.success'), 0, [
            'top_price'  => $price->top_price,
            'head_price' => $price->head_price
        ]);
    }
}